import request from '@/utils/request'

// 查询报备信息审批日志列表
export function listReportApprLog(query) {
  return request({
    url: '/check/reportApprLog/list',
    method: 'get',
    params: query
  })
}

// 查询报备信息审批日志详细
export function getReportApprLog(reportApprLogId) {
  return request({
    url: '/check/reportApprLog/' + reportApprLogId,
    method: 'get'
  })
}

// 新增报备信息审批日志
export function addReportApprLog(data) {
  return request({
    url: '/check/reportApprLog',
    method: 'post',
    data: data
  })
}

// 修改报备信息审批日志
export function updateReportApprLog(data) {
  return request({
    url: '/check/reportApprLog',
    method: 'put',
    data: data
  })
}

// 删除报备信息审批日志
export function delReportApprLog(reportApprLogId) {
  return request({
    url: '/check/reportApprLog/' + reportApprLogId,
    method: 'delete'
  })
}

// 查询报备信息审批日志不分页列表
export function selectListReportApprLog(query) {
  return request({
    url: '/check/reportApprLog/selectList',
    method: 'get',
    params: query
  })
}
